package com.chefu.carowner.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * mybatis-plus配置类
 */
@Configuration
public class MpConfig {

    @Bean
    public PaginationInterceptor createPageHelperConfiguration(){
        return new PaginationInterceptor();
    }
}
